<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no" />
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <title>百日无违章活动</title>
    <script src="https://cdn.bootcss.com/jquery/3.1.1/jquery.js"></script>
</head>
<style>
    /*body{*/
    /*    background-image: url(./../../resource/img/bairibackground.png);*/
    /*    background-size:100%  900%;*/
    /*    background-repeat: no-repeat;*/
    /*}*/
    html,body{
        width:100%;
        height:100%
    }

    body{
        margin: 0;
        padding: 0;
        background: linear-gradient(#67b6ff,#d2e9ff);
    }
    .header{
        width: 100%;
        height: 10rem;
    }
    .title{
        width: 100%;
        text-align: center;
        height: 10rem;
        line-height: 10rem;
        margin: 0 auto;
        color: #fff;
        letter-spacing:0.5rem;
        font-weight: bolder;
    }
    .bairi{
        font-size: 3rem;
        /*padding-left: 0.7rem;*/
    }
    .rank{
        font-size: 25px;
    }
    .a{
        width: 70%;
        margin:0 auto;
        padding-top: 4rem;
    }
    .a button{
        width: 100%;
        height: 2rem;
        border-radius: 5px;
        border: 1px solid #3598db;
        font-size: 16px;
        outline: none;
    }
    .login{
        color: white;
        font-size: 16px;
        background-color: #3598db;
    }
    .enroll{
       color: #3598db;
        background-color: #fff;
        margin-top: 1rem;
    }
    .car{
        position:fixed;
        bottom: 0;
    }
    </style>
<body>
<div class="header">
    <div class="title">
        <span class="bairi">百日</span><span class="rank">无违章</span>
    </div>

</div>
<div class="a">
    <a href="login.html"> <button class="login">登录</button></a>
    <a href="enroll.html"><button class="enroll" id="enroll">报名</button></a>
</div>
<div >
    <img src="../../../resource/img/car.png" class="car" width="100%;"/>
</div>
</body>

<script>
    $(function(){
        $("#enroll").click(function(){
            $(this).css({'background-color':'#218cd5'});
        });
        $(".login").click(function(){
            $(this).css({'background-color':'#218cd5'});
        });
    });
</script>
</html>